package edu.chl.tda367.mynotes.view;

import java.awt.*;

import javax.swing.*;

/*
 * A simple class that draws a separator (basically a line)
 */
@SuppressWarnings("serial")
public class Separator extends JPanel {
	
	public Separator() {
		setBackground(new Color(0, 0, 0));
		setPreferredSize(new Dimension(1,70));
	}
	
	public void paintComponent(Graphics g){
		super.paintComponent(g);
		g.setColor(Color.black);
		g.drawLine(2, 50, 2, 50);
	}
}
